/**
 * 2020-12-12 23:37 sheyifan Issue: import local font in different styles
 * 2020-12-12 23:50 sheyifan Attention: each line in brackets should end
 * with semicolon (";"), or will result in parsing error.
 */
@font-face {
    -fx-font-family: 'Consolas', sans-serif;
    src: local('Consolas'), url('../res/consola.ttf') format("truetype");
}

@font-face {
    -fx-font-family: 'Consolas', sans-serif;
    -fx-font-weight: bold;
    src: local('Consolas'), url('../res/consolab.ttf') format("truetype");
}

@font-face {
    -fx-font-family: 'Consolas', sans-serif;
    -fx-font-style: italic;
    src: local('Consolas'), url('../res/consolai.ttf') format("truetype");
}

@font-face {
    -fx-font-family: 'Consolas', sans-serif;
    -fx-font-style: italic;
    -fx-font-weight: bold;
    src: local('Consolas'), url('../res/consolaz.ttf') format("truetype");
}

@font-face {
    -fx-font-family: "TsangerJinKai05-6763 W05";
    src: local("TsangerJinKai05-6763 W05"), url("../res/5cc7b0f7e145c1556590839.ttf") format("truetype");
}

/* 2020-12-12 23:38 sheyifan Issue: import local font-awesome icons */
@font-face {
    -fx-font-family: "Font Awesome 5 Free Solid";
    src: local("Font Awesome 5 Free Solid"), url('../res/fa-solid-900.ttf') format("truetype");
}

.root {
    -fx-font-family: Consolas, "微软雅黑", sans-serif;
}

.icon {
    -fx-font-family: "Font Awesome 5 Free Solid";
}